package com.neu.service;

import com.neu.bean.User;
import com.neu.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserDao userDao;
    @Override
    public int addUser(User user) {
       return userDao.insert(user);
    }
}
